"""
 * Copyright (c) KylinSoft  Co., Ltd. 2024.All rights reserved.
 * PilotGo-plugin licensed under the Mulan Permissive Software License, Version 2.
 * See LICENSE file for more details.
 * Author: wangqingzheng <wangqingzheng@kylinos.cn>
 * Date: Fri Mar 1 10:09:12 2024 +0800
"""
from rest_framework import serializers
from appStore.testCase.models import TestCase

class TestCaseSerializer(serializers.ModelSerializer):
    """
    测试数据序列化
    """
    test_time = serializers.DateTimeField(format='%Y-%m-%d %H:%M:%S', read_only=True)


    class Meta:
        model = TestCase
        fields = '__all__'
